(6065) 1987 OC is a main-belt minor planet. It was discovered by Eleanor F. Helin and R. Scott Dunbar at the Palomar Observatory in San Diego County, California, on July 27, 1987.